<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
</head>
<body>
<h1>测试模板传递参数</h1>

{{/* 传递字符串 */}}
<h3>欢迎{{.}}童鞋</h3>

{{/* 传递结构体对象*/}}
<h3>获取到的数据</h3>
<span>姓名: {{.Name}}</span> <br>
<span>年龄: {{.Age}}</span> <br>
<span>地址: {{.Addr}}</span> <br>

{{/* 传递map数据 */}}
<h3>获取到的数据</h3>
<span>姓名: {{.user.Name}}</span> <br>
<span>年龄: {{.user.Age}}</span> <br>
<span>住址: {{.user.Addr}}</span> <br>
<spa>价格: {{.price}}</spa>

</body>
</html>
